<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑页面</title>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/3.0.1/css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript">
        function out(){
            location.href="/getAllUsers";
        }

        function foom(){
            alert("编辑成功!正在进入展示页面。。。");
        }

    </script>
</head>
<body>

<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <h3 class="text-center text-success">
                编辑页面
            </h3>
            <form role="form" action="/update" method="post">
                <input type="hidden" value="${users.uid}" name="uid">
                <div class="form-group">
                    <label for="exampleInputEmail1">职位名称</label><input type="text" class="form-control" name="uname" value="${users.uname}"/>
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">描述</label><input type="text" class="form-control" name="udescribe" value="${users.udescribe}"/>
                </div>
                <button type="submit" class="btn btn-default" onclick="foom()">提交</button>
                <button type="submit" class="btn btn-default" onclick="out()">返回</button>

            </form>
        </div>
    </div>
</div>


</body>
</html>